import { createRouter, createWebHashHistory } from 'vue-router'
import ProxyView from './views/ProxyView.vue'
import ApisView from './views/ApisView.vue'
import Settings from './views/SettingsView.vue'

const router = createRouter({
  history: createWebHashHistory(),
  routes: [
    {
      path: '/',
      redirect: '/apis'
    },
    {
      path: '/proxy',
      component: ProxyView
    },
    {
      path: '/apis',
      component: ApisView
    },
    {
      path: '/settings',
      component: Settings
    }
  ]
})

export default router 